projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d43a9b
)
X11 GdkGLContext: Remove spurious XSync
author
Alexander Larsson
<alexl@redhat.com>
Thu, 9 Oct 2014 14:22:56 +0000
(16:22 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 13 Oct 2014 14:43:32 +0000
(10:43 -0400)
This XSync doesn't seem to be necessary. Remove it until otherwise
proven.
gdk/x11/gdkglcontext-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkglcontext-x11.c
b/gdk/x11/gdkglcontext-x11.c
index b4e4e57b40604f5ef2b7134d2e67397e90d8ad76..4fe2936f25b1d03700fa83f0735ec11139550a05 100644
(file)
--- a/
gdk/x11/gdkglcontext-x11.c
+++ b/
gdk/x11/gdkglcontext-x11.c
@@
-875,9
+875,6
@@
gdk_x11_display_make_gl_context_current (GdkDisplay *display,
glXSwapIntervalSGI (0);
}
- /* TODO: Is this needed? */
- XSync (dpy, False);
-
if (gdk_x11_display_error_trap_pop (display))
{
g_critical ("X Error received while calling glXMakeContextCurrent()");